package com.probox.common.entity.domain.customer;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import com.probox.common.core.annotation.Excel;

/**
 * 等级权益赠品关系映射对象 level_privileage_give
 *
 * @author zsy
 * @date 2021-05-27
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("level_privileage_give")
@ApiModel(description="等级权益赠品关系映射类")
public class LevelPrivileageGive implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 赠送表id
     */
    @ApiModelProperty(value = "赠送表id")
    @TableId(value = "GIVE_ID", type = IdType.AUTO)
    private Long giveId;

    /**
     * 客户权益id
     */
    @ApiModelProperty(value = "客户权益id")
    private Long privileageId;
    /**
     * 赠送礼品ID
     */
    @ApiModelProperty(value = "赠送礼品ID")
    @Excel(name = "赠送礼品ID")
    private Long giveGiftId;
    /**
     * 赠送类型（如：优惠券，赠品等）
     */
    @ApiModelProperty(value = "赠送类型")
    @Excel(name = "赠送类型", readConverterExp = "如=：优惠券，赠品等")
    private String giveType;

    /**
     * 赠送总数
     */
    @ApiModelProperty(value = "赠送总数")
    private String giveSumNumber;

    /**
     * 赠送数量
     */
    @ApiModelProperty(value = "赠送数量")
    @Excel(name = "赠送数量")
    private String giveNumber;

    /**
     * 赠送名称
     */
    @ApiModelProperty(value = "赠送名称")
    @Excel(name = "赠送名称")
    private String giveName;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    @Excel(name = "创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @Excel(name = "修改人")
    private Long updateUser;
    /**
     * 状态 1有效 0无效
     */
    @ApiModelProperty(value = "状态")
    @Excel(name = "状态 1有效 0无效")
    private String status;


    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    @Excel(name = "创建人名称")
    private String createName;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    @Excel(name = "修改人名称")
    private String updateName;
}
